home *** CD-ROM | disk | FTP | other *** search
- Path: newshub.ccs.yorku.ca!news
- From: "Shahed A. Quazi" <shahed@yucc.yorku.ca>
- Newsgroups: comp.lang.c
- Subject: B-Tree example...
- Date: 31 Mar 1996 17:44:55 GMT
- Organization: York University, Canada
- Message-ID: <4jmgan$4ui@sunburst.ccs.yorku.ca>
- References: <14546@828046609> <4jgo7h$n7i@darkstar.UCSC.EDU> <4jhadrINNsim@mayne.ugrad.cs.ubc.ca> <828221679snz@genesis.demon.co.uk>
- NNTP-Posting-Host: cosmo16.slip.yorku.ca
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
-
- Hi:
-
- I guess I'm asking for too much, but just wondering if someone happen to
- have a source code for a B-Tree program where a user can find, insert and
- delete keys from a B-Tree using the following methods:
-
- a) Redistribution with the right sibling only.
- b) Redistribution with both siblings.
- c) Try the right sibling first, if not, try left sibling.
-
- Actually, I'm writing a simple interactive database program where I need
- to use B-Tree extensively and I think some good examples would greatly
- help to widen my thoughts.
-
- Any response would be highly appreciated.
-
- Thanks
-
- Shahed A. Quazi
- York University, Toronto, Canada
-
-
-